﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace Ex1.DefiningAttribute
{
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]

    class VersionAttribute : System.Attribute
    {
        private string name;
        private string comment;

        public VersionAttribute(string name, string comment = "")
        {
            this.name = name;
            this.comment = comment;
        }

        public string Name
        {
            get
            {
                return this.name;
            }
        }
        public string Comment
        {
            get
            {
                return this.comment;
            }
        }
    }
}
